package com.dp.mallchat.common.chat.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dp.mallchat.common.chat.domain.entity.Message;
import com.dp.mallchat.common.chat.domain.vo.req.SendMessageReq;

/**
 * <p>
 * 消息表 服务类
 * </p>
 *
 * @author <a href="https://gitee.com/baiDP">adu</a>
 * @since 2024-06-27
 */
public interface MessageService extends IService<Message> {

    /**
     * 发送消息
     * @param uid   uid
     * @param req   请求
     * @return
     */
    Long sendMessage(Long uid, SendMessageReq req);
}
